package com.excel.poi.demo;

import com.excel.poi.enums.Code;

public enum QuestionType implements Code {

		SINGLE_CHOICE(0, "单选题"), MULTIPLE_CHOICE(1, "多选题"), TEXT(2, "文本题");

		/**
		 * 值
		 */
		private final int value;

		/**
		 * 转义
		 */
		private final String desc;

		public String getDesc() {
			return desc;
		}

		public int getValue() {
			return value;
		}

		private QuestionType(int value, String desc) {
			this.value = value;
			this.desc = desc;
		}
	}